package com.bw.day_03.bean;

public class Tb_goods {
	private Integer id;
	private String name;
	private String ename;
	private Integer pid;
	private Integer tid;
	private String tname;
	private double size;
	private double price;
	private Integer number;
	private String label;
	private String tu;
	private Tb_brand brand;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEname() {
		return ename;
	}
	public void setEname(String ename) {
		this.ename = ename;
	}
	public Integer getPid() {
		return pid;
	}
	public void setPid(Integer pid) {
		this.pid = pid;
	}
	public Integer getTid() {
		return tid;
	}
	public void setTid(Integer tid) {
		this.tid = tid;
	}
	public String getTname() {
		return tname;
	}
	public void setTname(String tname) {
		this.tname = tname;
	}
	public double getSize() {
		return size;
	}
	public void setSize(double size) {
		this.size = size;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public Integer getNumber() {
		return number;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	public String getLabel() {
		return label;
	}
	public void setLabel(String label) {
		this.label = label;
	}
	public String getTu() {
		return tu;
	}
	public void setTu(String tu) {
		this.tu = tu;
	}
	public Tb_brand getBrand() {
		return brand;
	}
	public void setBrand(Tb_brand brand) {
		this.brand = brand;
	}
	@Override
	public String toString() {
		return "Tb_goods [id=" + id + ", name=" + name + ", ename=" + ename + ", pid=" + pid + ", tid=" + tid
				+ ", tname=" + tname + ", size=" + size + ", price=" + price + ", number=" + number + ", label=" + label
				+ ", tu=" + tu + ", brand=" + brand + "]";
	}
	public Tb_goods(Integer id, String name, String ename, Integer pid, Integer tid, String tname, double size,
			double price, Integer number, String label, String tu, Tb_brand brand) {
		super();
		this.id = id;
		this.name = name;
		this.ename = ename;
		this.pid = pid;
		this.tid = tid;
		this.tname = tname;
		this.size = size;
		this.price = price;
		this.number = number;
		this.label = label;
		this.tu = tu;
		this.brand = brand;
	}
	public Tb_goods() {
		// TODO Auto-generated constructor stub
	}
}
